package com.auxgroup.smarthome.dto;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Author: laiqiuhua.
 * @Date: 2017/8/3 23:33.
 */
public class SearchRoleDto {
    @Length(min = 3, max = 5, message = "3-5")
    @NotNull(message = "关键字不能为空")
    private String keywords;
    private String createTimeSlot;

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getCreateTimeSlot() {
        return createTimeSlot;
    }

    public void setCreateTimeSlot(String createTimeSlot) {
        this.createTimeSlot = createTimeSlot;
    }
}
